package com.example.entity;

import java.io.Serializable;

/**
 *订单(Ordermsg)实体类
 *
 */
public class Ordermsg implements Serializable {
    private static final long serialVersionUID = 171293492172904297L;
/**
     * 主键ID
     */
    private Integer id;
/**
     * 用户ID
     */
    private Integer memberid;
/**
     * 姓名
     */
    private String name;
    /**
     * 联系方式
     */
    private String tel;
    /**
     * 就餐人数
     */
    private Integer slnum;
/**
     * 订单编号
     */
    private String orderno;
/**
     * 菜品信息
     */
    private String goodsname;
/**
     * 订单总价
     */
    private Double total;
/**
     * 订单状态
     */
    private String status;
/**
     * 日期
     */
    private String savetime;
    private String membername;
    private Member member;

    public String getMembername() {
        return membername;
    }

    public void setMembername(String membername) {
        this.membername = membername;
    }


    public Member getMember() {
        return member;
    }

    public void setMember(Member member) {
        this.member = member;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMemberid() {
        return memberid;
    }

    public void setMemberid(Integer memberid) {
        this.memberid = memberid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Integer getSlnum() {
        return slnum;
    }

    public void setSlnum(Integer slnum) {
        this.slnum = slnum;
    }

    public String getOrderno() {
        return orderno;
    }

    public void setOrderno(String orderno) {
        this.orderno = orderno;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname;
    }

    public Double getTotal() {
        return total;
    }

    public void setTotal(Double total) {
        this.total = total;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getSavetime() {
        return savetime;
    }

    public void setSavetime(String savetime) {
        this.savetime = savetime;
    }

}

